package com.example.wanandroid.pojo;

import java.io.Serializable;
import java.util.Date;

public class LoginToken implements Serializable {
    /**
     * 主键
     *
     * @mbggenerated Thu Apr 16 21:49:46 CST 2020
     */
    private Long id;

    /**
     * 用户id
     *
     * @mbggenerated Thu Apr 16 21:49:46 CST 2020
     */
    private Long userId;

    /**
     * 失效时间
     *
     * @mbggenerated Thu Apr 16 21:49:46 CST 2020
     */
    private Date expiredDate;

    /**
     * token
     *
     * @mbggenerated Thu Apr 16 21:49:46 CST 2020
     */
    private String token;

    private static final long serialVersionUID = 1L;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Date getExpiredDate() {
        return expiredDate;
    }

    public void setExpiredDate(Date expiredDate) {
        this.expiredDate = expiredDate;
    }

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token == null ? null : token.trim();
    }
}